Menu

SMD importer

nemyax

Studiomodel (SMD) Importer for Blender 2.77+

This script lets you import the following files in Valve studiomodel format:

  • Individual .smd files with mesh and skeleton data (so-called reference SMD)
  • Individual .smd files with animation data

Installation

Install this script as an add-on:

  1. Open Blender's User Preferences window and go to the Add-ons tab.
  2. Click Install from File and specify the downloaded io_scene_studiomodel_import-*.*.*.zip file or the unpacked io_scene_studiomodel_import.py file.
  3. Enable the Import-Export: Import SMD: Valve studiomodel source format addon.
  4. To make your changes persistent, click Save User Settings.

Importing SMD Meshes

Click File | Import | Studiomodel Mesh Source in the main menu.
The bones in the imported armature are automatically made members of the "smd" pose bone group for consistency with the SMD exporter.

Importing SMD Animations

  1. Set the time slider to the frame you want the sequence to start at.
  2. Select the armature that you want to add animation to or a mesh object deformed by that armature. The armature should match the skeleton in the file you are going to import.
  3. Click File | Import | Studiomodel Animation Source in the main menu.

If everything is OK, the animation sequence is added, and markers are placed in the timeline for the start ("<filename></filename>_start") and end ("<filename></filename>_end") of the sequence. The naming of the markers is consistent with the convention used by the SMD exporter.

Notes:

  • The importer transfers the keys defined in the .smd to the fcurves of the armature's bones. If your armature is rigged with constraints, drivers and IK, and those are enabled, don't expect the resulting animations to match those in the file. However, the keys will be there, so when you disable your extra rigging features at any time, you should have a faithful representation of the animation in the file.
  • For bone rotations, the importer sets keys on both the Euler and quaternion channels.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.